Skip to content

Adding variant functionality to patterns browser #562

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

danmacpherson
Copy link
Collaborator

This feature adds variants to the patterns browser. Here's how it works:

You can set the variant_of parameter to a parent pattern ID, which is the directory name for the pattern under content/patterns e.g. multicloud-gitops

image

The parent pattern will have an indicator for how many variant patterns there are on the bottom-right of the respective card in the patterns browser.

image

You can click on this indicator to navigate to a filtered patterns browser for the that particular parent. The browser has a status indicator to let you know which parent pattern you filtering variants by, plus a link to return to the full patterns browser.

image

The same filters and sorting methods that work with the full patterns browser also work for the filtered parent patterns browser.

@mbaldessari
Copy link
Contributor

This is an automated message:

You can preview this docs PR at http://562.docs-pr.validatedpatterns.io
Note that they get generated every five minutes, so please wait a bit.

@openshift-ci openshift-ci bot added the size/L label Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants